﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Os.WebUI.Helpers;

namespace Os.WebUI.Controllers
{
    public class UtilController : Controller
    {
        //
        // GET: /Util/
        [HttpGet]
        public bool ValidaCpf(string id)
        {
            return Validacao.ValidaCpf(id);
        }

        [HttpGet]
        public bool ValidaCnpj(string id)
        {
            return Validacao.ValidaCnpj(id);
        }

    }
}
